package Eclass.Exam;

import java.io.Serializable;

public class ExamModel implements Serializable{
	
	// generate soal
	private String subject;
	private int noOfQuestion;
	
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public int getNoOfQuestion() {
		return noOfQuestion;
	}
	public void setNoOfQuestion(int noOfQuestion) {
		this.noOfQuestion = noOfQuestion;
	}
	
	// ujian
	private String className;
	private int examPrepId;
	private int batchClassId;
	private String startHour;
	private String endHour;
	private String examFor;
	private Integer duration;
	
	public int getExamPrepId() {
		return examPrepId;
	}
	public void setExamPrepId(int examPrepId) {
		this.examPrepId = examPrepId;
	}
	
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public int getBatchClassId() {
		return batchClassId;
	}
	public void setBatchClassId(int batchClassId) {
		this.batchClassId = batchClassId;
	}
	public String getStartHour() {
		return startHour;
	}
	public void setStartHour(String startHour) {
		this.startHour = startHour;
	}
	public String getEndHour() {
		return endHour;
	}
	public void setEndHour(String endHour) {
		this.endHour = endHour;
	}
	public String getExamFor() {
		return examFor;
	}
	public void setExamFor(String examFor) {
		this.examFor = examFor;
	}
	public Integer getDuration() {
		return duration;
	}
	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	// soal
	private String question;
	private String optionOfAnswer;
	private String answer;
	private int no;
	
	private String q1;
	private String q2;
	private String q3;
	private String q4;
	private String q5;
	private String opt1;
	private String opt2;
	private String opt3;
	private String opt4;
	private String opt5;

	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getOptionOfAnswer() {
		return optionOfAnswer;
	}
	public void setOptionOfAnswer(String optionOfAnswer) {
		this.optionOfAnswer = optionOfAnswer;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	
	
	
	public String getQ1() {
		return q1;
	}
	public void setQ1(String q1) {
		this.q1 = q1;
	}
	public String getQ2() {
		return q2;
	}
	public void setQ2(String q2) {
		this.q2 = q2;
	}
	public String getQ3() {
		return q3;
	}
	public void setQ3(String q3) {
		this.q3 = q3;
	}
	public String getQ4() {
		return q4;
	}
	public void setQ4(String q4) {
		this.q4 = q4;
	}
	public String getQ5() {
		return q5;
	}
	public void setQ5(String q5) {
		this.q5 = q5;
	}
	public String getOpt1() {
		return opt1;
	}
	public void setOpt1(String opt1) {
		this.opt1 = opt1;
	}
	public String getOpt2() {
		return opt2;
	}
	public void setOpt2(String opt2) {
		this.opt2 = opt2;
	}
	public String getOpt3() {
		return opt3;
	}
	public void setOpt3(String opt3) {
		this.opt3 = opt3;
	}
	public String getOpt4() {
		return opt4;
	}
	public void setOpt4(String opt4) {
		this.opt4 = opt4;
	}
	public String getOpt5() {
		return opt5;
	}
	public void setOpt5(String opt5) {
		this.opt5 = opt5;
	}

	// calculate score
	private String keyAnswer;
	private Double score;

	public String getKeyAnswer() {
		return keyAnswer;
	}
	public void setKeyAnswer(String keyAnswer) {
		this.keyAnswer = keyAnswer;
	}
	public Double getScore() {
		return score;
	}
	public void setScore(Double score) {
		this.score = score;
	}

	
	
}
